home *** CD-ROM | disk | FTP | other *** search
/ MacWorld España 14 / macworld_es_14.iso / Share World 14 / Por Categorías / Comunicaciones / ZTerm 1.0.1 ƒ / ZTerm Docs / 6. Modem Commands < prev    next >
Text File  |  1995-10-21  |  2KB  |  22 lines

  1. 6.    Modem Commands
  2.  
  3. A modem is controlled by sending it commands.  There are commands to configure a modem and commands to attempt a connection (the dial command).  ZTerm handles the dial command, but you may have to learn about some commands if you need to do any special configuration of your modem.  This section will explain some of the most common commands used by “Hayes compatible” modems.  Advanced modems will have additional commands which are not described here and in many cases will be unique to that brand of modem.  You will need to consult your modem manual for all of its commands and settings.  Some modems have a command that will print a summary of its commands.  On US Robotics modems, the commands AT$, AT&$, ATD$ and ATS$ will give a help summary on a portion of the modem commands.
  4.  
  5. There are three places in ZTerm where you can enter a modem command.  In the Modem Preferences there are the initialization and deinitialization strings.  These two are to do any modem configuration needed when ZTerm starts and quits.  And in the Connection settings for each service there is the PreDial init string.  This is to make any modem configuration changes needed just for this service.  In addition, you can manually type a modem command in the terminal window.  This is a good way to try out modem commands or to do one-time changes.
  6.  
  7. All modem commands start with AT, which is sometimes referred to as modem attention.  You could put several modem commands together on one line.  In this case, the AT would only be used once, at the beginning of the line.  A command is processed by the modem when it receives a RETURN.
  8.  
  9. Here are some of the more common modem commands:
  10. ATA - answer an incoming call and attempt to connect.
  11. ATDT 5551212 - dial the number using touch tones.
  12. ATDP 5551212 - dial the number using pulse dialing.
  13. ATE1 - turn on the echoing of modem commands.
  14. ATH0 - hang up (go on hook).
  15. ATM0 - speaker always off.
  16. ATM1 - speaker on while dialing until connection established.
  17. ATV1 - verbal result codes (sends “CONNECT” instead of just “1”).
  18. ATZ - reset modem to default configuration.
  19. ATS0=1 - set modem to auto answer after one ring. (That’s a zero after the S).
  20. ATS0=0 - turn off auto answer.
  21.  
  22.